package com.game.protobuf;

import java.util.List;

public class DDZInfo {
    /**
     * 开始游戏返回
     */
    @ProtobufMessage(resp = true, messageType = 1, cmd = 2)
    public static class RespStartGame{
        public long zhuangId;
        public int currentNu;           //当前回合数
        public int totalPokerNum;        //剩余牌
        public boolean isTwoVSTwo;
        public long friendId;
    }

    /**
     *
     */
    @ProtobufMessage
    public static class PlayerPoker {
        public long playerId;//当前用户
        public List<Integer> pokers;//牌
        public int pokerSize;//当前用户牌数
        public List<Integer> freePoker;//地主牌
        public boolean isMingPai;  //是否明牌
        public int mingDouble; //明牌倍数
    }

    /**
     * 叫分数据接受
     */
    @ProtobufMessage(messageType = 33, cmd = 44)
    public static class ReqJiaoFenGame {
        public int coreNumber;
        public int scoreValue;  //叫分
    }

}
